<template>
	<view class="earlyWarning">
		<view class="" style="height: 160rpx;">
		<view class="mail_List fixed z_ninetynine">
			<view class="mail" style="font-weight: 700;">
				<view class="order">人脸录入</view>
			</view>
		</view>
		<view class="icon fixed z_ninetynine">
			<u-icon name="arrow-left" color="#fefefe" size="40" @click="navigateBack"></u-icon>
		</view>
			
		</view>
		<view class="faceEntry">
			<view class="faceEntry_top" style="width: 479rpx;margin: 100rpx auto 0;">
				<view class="" style="width: 150rpx;margin: 0 auto;">
					<image src="../../../../static/workOrder/woman.png" mode="" style="width: 150rpx;height: 200rpx;">
					</image>
				</view>
				<view class="" style="margin: 20rpx auto 30rpx;font-weight: 600;">
					人像上传成功
				</view>
				<view class="" style="color: #ccc;">
					下次即可使用刷脸开锁, 无障碍通行门禁
				</view>
			</view>
			<view class="home" @click="home">
				回首页
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {	
			return {
				show: false,
				content: '东临碣石，以观沧海'
			}
		},
		methods: {
			home() {
				console.log(111)
				uni.switchTab({
				    url: '/pages/my/my'
				});
			}
		}
	}
</script>

<style lang="scss" scoped>
	.earlyWarning {
		.mail_List {
			overflow: hidden;
			width: 100%;
			background-color: #f2f2f2;

			.mail {
				height: 160rpx;
				line-height: 230rpx;
				color: #fff;
				font-size: 40rpx;
				background-color: #2a4f65;
			}

			.order {
				text-align: center;
			}
		}

		.icon {
			position: absolute;
			top: 96rpx;
			left: 20rpx;
		}

		.faceEntry {
			.faceEntry_top {
				text-align: center;
			}

			.home {
				width: 90%;
				margin: 210rpx auto 0;
				    padding: 16rpx 0;
				text-align: center;
				border-radius: 6rpx;
				border: 1px solid #404040;
			}
		}
	}
</style>
